package com.wtwd.device.handler.processimpl;


import com.wtwd.device.annotation.MsgType;
import com.wtwd.device.constant.MsgTypeEnum;
import com.wtwd.device.handler.ProcessMessageHandler;
import com.wtwd.device.protocol.AppProtocol;
import io.netty.channel.Channel;
import org.springframework.stereotype.Component;


@MsgType(MsgTypeEnum.APP_KA)
@Component
public class HeartBeatHandler implements ProcessMessageHandler {


    @Override
    public AppProtocol processMsg(AppProtocol appProtocol, Channel channel) {
        return appProtocol;
    }
}
